package com.flame.user.mapper;

import java.util.List;

import com.flame.auth.core.annotation.DataFilter;
import com.flame.auth.core.constants.AuthConstants;
import com.flame.user.controller.vo.RoleVo;
import com.flame.user.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_role 角色信息表
 *
 * @author 吴欣童
 * @since 2022-12-15 10:04:46
 */
@Mapper
public interface RoleMapper {

    List<Role> page(RoleVo roleVo);

    void insert(Role role);

    void updateById(Role role);

    void deleteById(@Param("roleCode") String roleCode);

    Role selectById(@Param("roleCode") String roleCode);
}